#!/usr/bin/env python
# -*- coding:utf-8 -*-
# Create by zhang
# Create on 2022/6/21 17:18
from domain.common.base_dto import BaseDTO
from domain.report.common.period_enum import PeriodEnum


class TopTenDTO(BaseDTO):
    def __init__(self):
        self.stock_id:int = None
        self.stock_code:str = None
        self.year:int = None
        self.period:PeriodEnum = None
        self.v0:ShareholdingInfoDTO = None
        self.v1:ShareholdingInfoDTO = None
        self.v2:ShareholdingInfoDTO = None
        self.v3:ShareholdingInfoDTO = None
        self.v4:ShareholdingInfoDTO = None
        self.v5:ShareholdingInfoDTO = None
        self.v6:ShareholdingInfoDTO = None
        self.v7:ShareholdingInfoDTO = None
        self.v8:ShareholdingInfoDTO = None
        self.v9:ShareholdingInfoDTO = None
        self.v10:ShareholdingInfoDTO = None


class ShareholdingInfoDTO:
    def __init__(self):
        self.shareholder:str = None
        self.amount:float = None
        self.ratio:float = None